package com.cyou.demo.mapper;

import com.cyou.demo.model.Person;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**	Created by chenzhuo_m on 2018/3/7. */

@Repository
public interface PersonMapper {

	@Select("SELECT * FROM person WHERE id = #{id} ")
	Person selectPerson(Long id);

	Person getUserInfo(Long userId);

}
